package com.example.order.controller;

import com.example.order.dao.Toclient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class OrderController {
    @Autowired
    private Toclient toclient;

    @RequestMapping("/order")
    public @ResponseBody  String order(){
        return toclient.getclient();
    }
}
